package cn.zhaozhiqi.user.mapping;

import cn.zhaozhiqi.user.domain.User;
import cn.zhaozhiqi.user.query.UserQuery;

import java.util.List;

public interface UserMapper {
    User getByID(Long id);

    void getAll();

    void addData(User user);

    void updateByID(User user);

    void deleteByID(Long id);

    List<User> getSearchList(UserQuery query);

    void batchdelete(List<Long> ids);

    User getDataUser(String userName);
}
